]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Use insensitive theming for undecorated insensitive buttons
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 28 Aug 2023 18:46:24 +0000 (20:46 +0200)
committerSam Hewitt <665-snwh@users.noreply.gitlab.gnome.org>
Tue, 29 Aug 2023 12:02:51 +0000 (12:02 +0000)
Menu items such as "paste" when no clipboard is available were always
painted as active. This is because the undecorated buttons do not use
the insensitive color anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2919>

data/theme/gnome-shell-sass/_drawing.scss

index 3909f518f520b5962640fe49645e2966732d1c12..85f16fb3cd39d020630c54125d3dbb08dba60d6a 100644 (file)
     background-color: none;
     box-shadow: none;
     &:insensitive {
+      @include button(insensitive);
       background-color: transparent;
     }
   }